﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="NewMes.aspx.cs" Inherits="Catering.Catering_Page.Mes.NewMes" %>

<%@ Register Assembly="FreeTextBox" Namespace="FreeTextBoxControls" TagPrefix="FTB" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <script type="text/javascript" src="../../Style/zhezhao.js"></script>
    <script src="../../../Style/xxk.js" type="text/javascript"></script>
    <script src="../../Scripts/CheckBoxInTreeView.js" type="text/javascript"></script>
    <link rel="stylesheet" type="text/css" href="../../Style/head.css" />
    <link rel="stylesheet" type="text/css" href="../../Style/center.css" />
    <link rel="stylesheet" type="text/css" href="../../Style/zhezhao.css" />
    <script src="../../Scripts/jquery-1.4.1.js" type="text/javascript"></script>
    <style type="text/css">
        *
        {
            margin: 0px;
            padding: 0px;
        }
        body
        {
            font-size: 12px;
        }
        .data_css
        {
            width: 99%;
            margin-top: 10px;
            height: 310px;
            overflow-y: auto;
            overflow-x: hidden;
            border: #ccc 1px solid;
        }
        .data_css th
        {
            background: url(../../Images/th_02bg.gif) repeat-x 0px 0px;
            padding: 0px;
            text-align: center;
            height: 29px;
            border-right: #ccc 1px solid;
            font-weight: 400;
        }
        .data_css td
        {
            text-align: center;
            height: 20px;
            line-height: 20px;
        }
        .btn_list
        {
            width: 99%;
            height: 30px;
            line-height: 30px;
            padding: 5px 0px;
            border: 1px solid #c2def6;
            background-color: #e5f1ff;
            margin-top: 10px;
        }
        img
        {
            border: 0px;
        }
        .ryglRecipe_0206{margin-top:3px;}
        .left_CR{margin-top:10px;}
        .Create_Recipe { margin-top: 0;}
        .Create_Recipe
        {
            border: 1px solid #159aec;
            border-top: none;
            width: 998px;
        }
    </style>
    <script type="text/javascript">
        var selectID = "li2_3";
        $(document).ready(function () {
            $(".xxk_button1>ul>li a").mouseover(function () {
                $(this).addClass("li_over");
            });
            $(".xxk_button1>ul>li a").mouseout(function () {
                if ($(this).attr("id") != selectID) {
                    $(this).removeClass("li_over");
                }
            });
        });
    </script>
</head>
<body>
    <form id="form1" runat="server">
    <asp:ScriptManager ID="ScriptManager1" EnablePartialRendering="false" runat="server">
    </asp:ScriptManager>
    <div class="xxk_button1">
                <ul>
                    <li><a id="li2_1" href="SMSHall.aspx" class="li_out">&nbsp;&nbsp;我的信息</a></li>
                    <li><a id="li2_2" href="OutBox.aspx" class="li_out">&nbsp;&nbsp;已发送消息</a></li>
                    <li><a id="li2_3" href="NewMes.aspx" class="li_out li_over">&nbsp;&nbsp;写新消息</a></li>
                </ul>
            </div>
    <asp:UpdatePanel ID="UpdatePanel1" runat="server">
        <ContentTemplate>
            
            <div class="Center_Content" id="div1" style="display: block">
            <div class="Create_Recipe">
                <div class="left_CR">
                    <div class="ryglRecipe_0206">
                        <h1><a href="#">基础数据</a></h1>
                        <div class="Dl_div">
                            <div class="div_menu">
                                <asp:TreeView Width="100%" Style="overflow-y: auto" Height="320px" ID="TreeView1" runat="server" Font-Size="12px" SelectedNodeStyle-BackColor="#999999" ExpandDepth="0"></asp:TreeView>
                                <div class="soso_lt_div">
                                    <table cellpadding="0" cellspacing="0" border="0" width="176" height="30" align="center">
                                        <tr>
                                            <td valign="middle"><asp:TextBox ID="txtSearch" Width="90px" CssClass="input_bg" runat="server"></asp:TextBox></td>
                                            <td valign="middle"><asp:Button ID="btnSearch" CssClass="button_soso_lt" runat="server" Text="" OnClick="btnSearch_Click" /></td>
                                            <td valign="middle"><asp:Button ID="btnSelectRecevie" Width="50px" runat="server" Text="确定" OnClick="btnSelectRecevie_Click" style="vertical-align:middle" /></td>
                                        </tr>
                                    </table>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
                <div class="Right_CR" style="overflow-x: hidden;">
                    <div class="btn_list" style="height:30px; width:788px;" >
                        <table width="100%" style="height:30px" border="0" cellpadding="0" cellspacing="0">
                            <tr>
                                <td align="right" valign="middle">
                                    <asp:LinkButton ID="LinkButton2" runat="server" OnClick="LinkButton2_Click"><img height="28" height="76" style=" vertical-align:middle;" src="../../Images/MessageAdd.gif" /></asp:LinkButton>&nbsp;&nbsp;&nbsp;&nbsp;
                                </td>
                            </tr>
                        </table>
                    </div>
                    <table width="100%" border="0" cellspacing="0" cellpadding="0">
                        <tr><td colspan="3" height="10"></td></tr>
                        <tr>
                            <td style="width:60px" align="center" height="30" valign="middle">接收人：</td>
                            <td align="left" style="border:1px solid #808080;" width="620" valign="middle">
                                <asp:Repeater ID="Repeater1" runat="server">
                                    <ItemTemplate><span><%# Eval("Name")+"；" %></span></ItemTemplate>
                                </asp:Repeater>
                                
                            </td>
                            <td width="100"></td>
                        </tr>
                        <tr><td colspan="3" height="10"></td></tr>
                        <tr>
                            <td valign="top" align="center">内&nbsp;&nbsp;&nbsp;&nbsp;容：</td>
                            <td align="left" colspan="2" width="740">
                                <FTB:FreeTextBox ID="txtContent" runat="server" Width="640" ButtonSet="OfficeMac"
                                    EnableToolbars="False" Language="zh-CN" ToolbarLayout="ParagraphMenu,FontFacesMenu,FontSizesMenu,FontForeColorsMenu|Bold,Italic,Underline,Strikethrough;Subscript,RemoveFormat|JustifyLeft,JustifyRight,JustifyCenter,JustifyFull;BulletedList,NumberedList,Indent,Outdent;CreateLink,Unlink|Cut,Copy,Paste"
                                    EnableHtmlMode="False" Height="265">
                                </FTB:FreeTextBox> 
                            </td>
                        </tr>
                    </table>
                </div>
            </div>
            </div>
        </ContentTemplate>
    </asp:UpdatePanel>
    </form>
</body>
</html>
